Skip to content

Conversation

@dlech
Copy link
Member

@dlech dlech commented Jul 9, 2025

Since updating to MicroPython v1.25, the MPY minor version has changed. This only affects people using native code in their user programs.

I overlooked this in #313.

It would be nice to pull this info from the micropython config instead of having to remember to keep these options in sync.

@coveralls
Copy link

coveralls commented Jul 9, 2025

Coverage Status

coverage: 57.162%. remained the same
when pulling ddb5cfc on dlech:pbio-mpy-v6.3
into 2099b06 on pybricks:master.

Since updating to MicroPython v1.25, the MPY minor version has changed.
This only affects people using native code in their user programs.
#define PBSYS_CONFIG_FEATURE_BUILTIN_USER_PROGRAM_IMU_CALIBRATION (0)
#define PBSYS_CONFIG_FEATURE_PROGRAM_FORMAT_MULTI_MPY_V6 (1)
#define PBSYS_CONFIG_FEATURE_PROGRAM_FORMAT_MULTI_MPY_V6_1_NATIVE (0)
#define PBSYS_CONFIG_FEATURE_PROGRAM_FORMAT_MULTI_MPY_V6_3_NATIVE (0)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this should be enabled on EV3 since it has PYBRICKS_OPT_NATIVE_MOD (1).

@laurensvalk laurensvalk merged commit ddb5cfc into pybricks:master Jul 11, 2025
16 checks passed
@dlech dlech deleted the pbio-mpy-v6.3 branch July 11, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants